﻿using SmartWMS.Common.ResponseOutput;
using SmartWMS.Server.BasicsDatumServer.SupplierManagement;
using SmartWMS.Server.SystemSets.RoleServices.Dto;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SmartWMS.Server.BasicsDatumServer.SupplierManagement
{
    /// <summary>
    /// 供应商管理接口
    /// </summary>
    public interface ISupplierManagement:ITransientServer
    {
        /// <summary>
        /// 供应商管理列表
        /// </summary>
        /// <param name="supplierFyDto"></param>
        /// <returns></returns>
        Response<dynamic> GetSupplierManagementDtoDtoAsyne(SupplierFyDto supplierFyDto);
        /// <summary>
        /// 供应商管理删除
        /// </summary>
        /// <param name="dto"></param>
        /// <returns></returns>
        Task<Response<bool>> DeleteSupplierManagementDtoAsyne(SupplierManagementDto dto);

        /// <summary>
        /// 供应商管理添加
        /// </summary>
        /// <param name="dto"></param>
        /// <returns></returns>
        Task<Response<bool>> SupplierManagementDtoAddSave(SupplierManagementDto dto);

        /// <summary>
        /// 供应商管理反填
        /// </summary>
        /// <param name="dto"></param>
        /// <returns></returns>
        Response<SupplierManagementDto> GetSupplierManagementById(SupplierManagementDto dto);


        /// <summary>
        /// 供应商管理修改
        /// </summary>
        /// <param name="dto"></param>
        /// <returns></returns>
        Task<Response<bool>> SupplierManagementUpdate(SupplierManagementDto dto);

        /// <summary>
        /// 批量删除供应商
        /// </summary>
        /// <param name="dto"></param>
        /// <returns></returns>
        /// <exception cref="NotImplementedException"></exception>
        Task<Response<bool>> DeletesSupplierManagementIsDisable(SupplierManagementDto dto);
    }
}
